export interface GetArchivesHeaderMessage {
    id: number
}

export interface GetArchivesDetaliType {
    id: number,
    typeId: number
}

export interface PostSupplierContact {
    supplierId: number,
    name: string,
    avater: string | null,
    phone: string | null,
    job: string | null,
    department: string | null,
    officeLocation: string | null,
    decisionRole: string | null,
    isPrimaryContact: number | null,
    isKeyDecisionMakers: number | null,
}

export interface EditSupplierContact {
    id: number,
    supplierId: number,
    name: string,
    avater: string | null,
    phone: string | null,
    job: string | null,
    department: string | null,
    officeLocation: string | null,
    decisionRole: string | null,
    isPrimaryContact: number | null,
    isKeyDecisionMakers: number | null,
}

export interface DeleteSupplierContact {
    id: number,
}

export interface postSuppliergoods {
    supplierId: number,
    number: string,
    name: string,
    model: string,
    spec: string,
    singlePrice: number,
    singleUint: string,
    state: number,
    isNeedAuth: number,
    authState: number
}

export interface putSuppliergoods {
    id: string,
    supplierId: number,
    number: string,
    name: string,
    model: string,
    spec: string,
    singlePrice: number,
    singleUint: string,
    state: number,
    isNeedAuth: number,
    authState: number
}

export interface delSuppliergoods {
    id: number
}

export interface postSupplierAccount {
    account: null | string
    accountType: null | number;
    bankOfBranches: string;
    bankOfDeposit: null | string;
    bankOfProvince: null | string;
    isPrimary: null | string;
    name: string;
    supplierId: number;
}

export interface delSupplierAccount {
    id: number
}

export interface postSupplierServer {
    supplierId: number,
    name: string,
    des: string
}

export interface putSupplierServer {
    id: number,
    supplierId: number,
    name: string,
    des: string
}

export interface delSupplierServer {
    id: number,
}